﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.Xpo;

namespace ChuanPlus
{
    public class TransactionType: XPLiteObject
    {
        
        int fTransactionTypeID;
        [Key(true)]
        public int TransactionTypeID
        {
            get { return fTransactionTypeID; }
            set { SetPropertyValue<int>("TransactionTypeID", ref fTransactionTypeID, value); }
        }
        string fTransactionName;
        [Size(255)]
        public string TransactionName
        {
            get { return fTransactionName; }
            set { SetPropertyValue<string>("TransactionName", ref fTransactionName, value); }
        }
        public TransactionType(Session session) : base(session) { }
        public TransactionType() : base(Session.DefaultSession) { }
        public override void AfterConstruction() { base.AfterConstruction(); }
    }
}
